package com.hcandtx.Bms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hcandtx.Bms.bean.ShoppingTrolley;

public interface ShoppingMapper {
	public int add(ShoppingTrolley shoppingTrolley);

	public int deleteById(int id);

	public List<ShoppingTrolley> findAll();

	public List<ShoppingTrolley> findById(@Param("userid") int UserId);

	public int updateQuantity(@Param("id") int id,@Param("quantity")int quantity);
}
